package face.pay.dao;

import face.pay.entity.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderInfoDao {

    void insert(OrderInfo orderInfo);

    OrderInfo getById(Long orderId);

    /**
     *填写支付信息
     * @param orderInfo
     */
    void updatePayInfo(OrderInfo orderInfo);

     List<OrderInfo> queryList(Map params);

     List<OrderInfo> queryNotPayOrder(Map params);

    void updateProfitSign(OrderInfo orderInfo);

    BigDecimal tradeTotalAmoumt(Map params);

}
